<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">	
<h:head>
</h:head>
<h:body>
	<h:messages globalOnly="true"/>
	<ui:composition template="/page/layout/layout.xhtml" >
		<ui:define name="title">prueba</ui:define>
		<ui:define name="content">
		
			<rich:panel rendered="#{sessionBean.currentPanel eq labels['panelCuenta']}">
				<ui:include src="/page/contents/panelAddCuenta.xhtml" />
				<ui:include src="/page/contents/panelListCuenta.xhtml" />
					
			</rich:panel>
			
			<rich:panel rendered="#{sessionBean.currentPanel eq labels['panelCliente']}">
				<ui:include src="/page/contents/panelAddCliente.xhtml" />
				<ui:include src="/page/contents/panelListCliente.xhtml" />
			</rich:panel>
			
			<rich:panel rendered="#{sessionBean.currentPanel eq labels['panelMovimiento']}">
				<ui:include src="/page/contents/panelAddMovimiento.xhtml" />
				<ui:include src="/page/contents/panelListMovimiento.xhtml" />
			</rich:panel>
			
			<rich:panel rendered="#{sessionBean.currentPanel eq labels['panelDefault']}">
				<ui:include src="/page/contents/panelManual.xhtml" />
			</rich:panel>


		</ui:define>
	</ui:composition>

</h:body>
</html>